/**
 * @author: wq
 * @Date: 2017/4/17
 * @Time: 16:14
 * <p>
 * Description:
 *          ***
 */

import axios from 'axios';
import {API_VERSION} from '../api';

const ADDRESSES = '/address';

/**
 * 获取用户地址列表
 * @param params
 * @returns {AxiosPromise}
 */
export const getAddresses = params => {
  return axios.get(API_VERSION + ADDRESSES, {params: params});
};
